package com.example.zqq.mysnake.model;

import java.util.List;

/**
 * Created by Administrator on 2017/10/30.
 */

public class Snake {

    private Head head;
    private Body body;
    private List<Body> bodyList;
    private SnakeDirection snakeDirection;

    public Snake() {
    }

    public Snake(Head head, List<Body> bodyList, SnakeDirection snakeDirection) {
        this.head = head;
        this.bodyList = bodyList;
        this.snakeDirection = snakeDirection;
    }

    public Head getHead() {
        return head;
    }

    public void setHead(Head head) {
        this.head = head;
    }

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

    public List<Body> getBodyList() {
        return bodyList;
    }

    public void setBodyList(List<Body> bodyList) {
        this.bodyList = bodyList;
    }

    public SnakeDirection getSnakeDirection() {
        return snakeDirection;
    }

    public void setSnakeDirection(SnakeDirection snakeDirection) {
        this.snakeDirection = snakeDirection;
    }
}
